package com.smart.member.service;

import com.smart.common.vo.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "smart-auth", path = "auth")
public interface AuthService {
    @PostMapping("/login")
    ResponseResult<String> login(@RequestParam String username, @RequestParam String password);
}
